Security detection for a physical layer authentication system that considers signal-discriminating capability of an active adversary

ABSTRACT

A method of security detection for a physical layer authentication system takes into account the signal-discriminating ability of an active adversary. The distance to the active adversary is estimated by an authorized transmitter based on its broadcast signal and, based on the distance estimate, the signal-to-noise ratio (SNR) of the adversary is also estimated.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority of Chinese patent application No. 201811401622.X filed Nov. 22, 2018, for “Security Detection Method for the Physical Layer Authentication System Considering Adversary Computing Capability”.

TECHNICAL FIELD

The present disclosure relates to wireless communication technology, in particular, to a security detection method for a physical layer authentication.

BACKGROUND ART

The ability to verify the authenticity of a transmitter is a fundamental security requirement, and authentication technology is typically based on an encryption mechanism and identity authentication carried out in an upper layer. Compared with this authentication technology, authentication at a physical layer has two main advantages. First, the authentication at the physical layer may achieve higher information theory security by introducing uncertainty (such as noise) into the monitoring device of an active adversary. Second, authentication at the physical layer may avoid the need for operation of an upper layer, so higher efficiency and better compatibility may be achieved.

Performance evaluation of physical layer authentication technology is mainly based on three characteristics: covertness, security, and robustness. Specifically, covertness may have two aspects: methods for authentication should not be easily detected or observed; and there should be no significant effect on the ability of an unaware receiver to recover the message. Security is the ability to resist attacks by an actively adversarial monitoring device. Robustness is the ability to evaluate whether the authentication technology may be used in interference.

However, research analyzing the performance analysis of physical layer authentication is still imperfect. Because the above three characteristics are usually analyzed separately, it is difficult to systematically analyze the effect of parameters of a certain physical layer authentication scheme on final performance, and it is also difficult to fairly compare the performance of different physical layer authentication schemes under the same channel conditions.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic scenario diagram of a security detection method for a physical layer authentication system according to some embodiments.

FIG. 2 is a schematic flowchart diagram of a security detection method for a physical layer authentication system according to some embodiments.

FIG. 3 is a schematic waveform diagram of a ratio of authentication information leakage and a signal-to-noise ratio (SNR) at an active, adversarial monitoring device for the physical layer authentication system according to some embodiments.

FIG. 4 is a schematic waveform diagram showing a security authentication probability (PSA) of a physical layer authentication system and a signal-to-noise ratio (SNR) at a receiving device of the physical layer authentication system according to some embodiments.

DETAILED DESCRIPTION

The technical solutions in the embodiments of the present disclosure will be clearly and completely described in the following with reference to the accompanying drawings. It is apparent that the described embodiments are only some of the embodiments of the disclosure, and not all possible embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts are within the scope of the present disclosure.

It should be noted that the terms “first”, “second”, and the like in the specification and claims of the present disclosure and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms “comprises” and “comprising” are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that “comprises” a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or other steps or units optionally inherent to these processes, methods, products or equipment.

The disclosure discloses a security detection method for a physical layer authentication system that takes into account the signal-discriminating capability of an active adversary. This may improve the convenience and accuracy of authentication system performance analysis. Here, as is common in the literature, that an adversary is “active” implies that it transmits one or more signals intended to negatively affect one or more authorized systems. The purpose of such signals might, for example, be jamming or spoofing. In broad terms, one feature of embodiments is estimation by an authorized transmitter of the distance to an active adversary based on its broadcast signal and, based on the distance estimate, an estimation of the signal-to-noise ratio (SNR) of the adversary. The details are described below.

FIG. 1 is a schematic scenario diagram that illustrates some embodiments of a security detection method for a physical layer authentication system that takes into account the signal-discriminating capability of an active adversary. As shown in FIG. 1, the security detection method for this physical layer authentication may be that of a wireless communication physical authentication system including an authorized transmitting device 12 (shown also as “Alice”), a receiving device 14 (“Bob”), and an active, adversarial monitoring device 16 (the “adversary”, for short, or “Eve”).

According to some embodiments, as shown in FIG. 1, the security detection method for the physical layer authentication system is based on a general signal transmission scenario 10. The signal transmission scenario includes four users: the transmitting device 12, the receiving device 14, the adversary 16, and an unaware monitoring device 18 (“Carol”). Although only one each is shown in FIG. 1 and described here, the number of transmitting devices, receiving devices, adversaries, and unaware monitoring devices could instead be two or more. The transmitting device 12 may transmit a carrier signal to the receiving device 14, and the adversary and the unaware monitoring device may also receive the carrier signal.

According to some embodiments, it is assumed that the transmitting device 12 and the receiving device 14 agree on an authentication scheme with a shared secret key that allows the receiving device 14 to verify a tagged message transmitted from the transmitting device 12. Here, as in the prior art, a “tagged” message is one in which a tag is embedded, for example, and may be in the known form of a hash of a secret key and the source message. The unaware monitoring device 18 does not know the authentication scheme between the transmitting device and the receiving device, so the unaware monitoring device cannot authenticate the tagged signal in the carrier signal; however, the unaware monitoring device could still recover a message signal not secured by the secret key in the carrier signal itself. The adversary may be aware of the authentication scheme between the transmitting device and the receiving device, but it cannot generate the tag, that is, the adversary cannot authenticate that signal.

According to some embodiments, the transmitting device, receiving device, unaware monitoring device, or adversary of the signal transmission scenario shown in FIG. 1 may include a base station or other user equipment. The receiving device may also include user equipment or test equipment. A base station (e.g., an access point or node) may refer to a device in an access network that communicates with a wireless terminal by one or more sectors over an air interface. The base station may convert received air frames to IP packets as a router between the wireless terminal and the rest of the access network, which may include an Internet Protocol (IP) network. The base station may also coordinate attribute management of the air interface. For example, the base station may be a GSM or CDMA base station (BTS, Base Transceiver Station) in, or may be, a WCDMA base station (NodeB), or may be a LTE evolutionary base station (NodeB, eNB, e-NodeB, evolutional NodeB).

According to some embodiments, the user equipment or test equipment may include, but is not limited to, various types of electronic devices, such as a smart phone, a notebook computer, a personal computer (PC), a personal digital assistant (PDA), a mobile internet device (MID), a wearable device (such as a Smart watch, a smart bracelet, and a smart glasses). An operating system of the user device may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a BlackBerry operating system and Windows Phone 8 operating system and so on; these are not limitations in the embodiment of the present disclosure.

FIG. 2 is a schematic flowchart diagram of the security detection method for the physical layer authentication system that considers adversary computing capability according to some embodiments.

According to some embodiments, based on the signal transmission scenario shown in FIG. 1, the security detection method for the present physical layer authentication system as shown in FIG. 2, could include: The transmitting device transmits a signal (step S100), to be specific, the transmitting device may transmit a first signal through a wireless fading channel, and then the receiving device, the unaware monitoring device, and the adversary may obtain a second signal respectively. The wireless fading channel may include a flat block-fading channel.

In step S100, the first signal may be transmitted in the form of data blocks, which makes it easy to manipulate data. A first signal x_(i) of an i'th block, that is, the first signal x_(i) of each block, is an independent and identically distributed (i.i.d) random variable (RVs). The signal length of the first signal x_(i) of the i'th block is L.

According to some embodiments, the first signal may be a normal signal. A normal signal may be a message signal obtained by encoding and modulating an initial signal, which may be represented as x_(i)=s_(i), where s_(i) denotes the i'th block of the message signal. The first signal may also be a tagged signal. A tagged signal may include a message signal and a tag signal which may be expressed as x_(i)=ρ_(s)*s_(i)+ρ_(t)*t_(i), wherein ρ_(t) ² and ρ_(t) ² may be interpreted as energy allocations of the message and tag, respectively, and ρ_(s) ²+ρ_(t) ²=1. When ρ_(t) ²=0, the first signal does not contain any authentication tag and x_(i)=s_(i), which is defined as a normal signal. Furthermore, t_(i) denotes the i'th block tag signal, which may be generated by a hash function g(⋅) with a secret key K shared between the transmitting device and the receiving device, which is expressed as t_(i)=g (s_(i), K).

According to some embodiments, the transmitting device may control the message signal energy allocations ρ_(t) ² and ρ_(s) ². To be specific, the transmitting device may use automatic power control to achieve power control. For instance, if ratio frequency signals received by the transceiver station of the base station are successively input into a filter and a frequency converter with filtering function, then we may obtain an IF (intermediate frequency) signal. After that, the IF signal may be input into an automatic power control module of the base station to adjust power. The automatic power control module may include an ADC (analog-to-digital converter), a DC-removal unit, a power estimation unit, and a power feedback adjustment unit.

In step S100, the first signal is passed through the wireless fading channel, and the receiving device, the unaware monitoring device, and the adversary may obtain the second signal. Different data blocks of the first signal may fade independently when passing through the wireless fading channel. An i'th block of the second signal may be express as γ_(i) =h _(i) *x _(i) +n _(i)  (1) where h_(i) is a channel response, which is a zero-mean complex Gaussian RV with variance σ_(h) ², and n_(i) is a zero-mean complex Gaussian white noise with variance σ_(n) ².

According to some embodiments, as shown in FIG. 2, the security detection method for the physical layer authentication system may consider the computing capability of the adversary, in step S200. This may include computing a first false alarm probability based on a received second signal, computing a first optimal threshold from the first false alarm probability, and determining a first detection probability and obtaining a feasible authentication information leakage (FAIL) value based on the authentication information leakage ratio and the first detection probability. In the step S200, to be specific, the adversary may receive the second signal, compute a first testing statistic and an estimated tag based on the second signal, compute a key equivocation value based on the estimated tag signal, compute an authentication information leakage ratio based on the key equivocation, compute a first false alarm probability based on a first testing hypothesis and the first testing statistic, based on the Neyman-Pearson theorem, determine the first optimal threshold if the first false alarm probability is less than or equal to an upper bound of the first false alarm probability, determine the first detection probability, and then determining the FAIL value based on the first detection probability and the authentication information leakage ratio.

In step S200, the adversary may be assumed to receive the second signal. The SNR (signal-to-noise ratio) γ_(i) of the i'th block of the second signal γ_(i) may be denoted as γ_(i)=|h_(i)|²/σ_(h) ². The adversary may be assumed to estimate an i'th block of an object signal using its channel estimation ĥ_(i). The object signal may be denoted as

$\begin{matrix} {{\hat{x}}_{i} = {\frac{{\hat{h}}_{i}^{*}}{{{\hat{h}}_{i}}^{2}}y_{i}}} & (2) \end{matrix}$ where ( )* represents the conjugate-taking operation. Here, to simplify the analysis, assume that the adversary has a perfect channel estimation, i.e., ĥ_(i)=h_(i). Then, by sequential demodulation and decoding, the adversary could determine the source message signal for the object, that is, the message signal.

According to some embodiments, based on the second signal, the adversary determines the key equivocation

(k|y_(i)) value after obtaining the estimated tag {circumflex over (t)}. For an ideal, noiseless environment, the key equivocation value may be expressed as:

$\begin{matrix} {{H\left( {\left. k \middle| s_{i\;} \right.,t_{i}} \right)} = {\sum\limits_{{s \in S},{t \in T}}{{\Pr\left( {s_{i},t_{i}} \right)}{H\left( {\left. k \middle| s \right.,t} \right)}}}} & (3) \end{matrix}$ where

(⋅) represents a binary entropy operator, and H (k|s,t) may be calculated as

$\begin{matrix} {{H\left( {\left. k \middle| s \right.,t} \right)} = {- {\sum\limits_{k \in K}{{\Pr\left( {\left. k \middle| s \right.,t} \right)}\log\;{\Pr\left( {\left. k \middle| s \right.,t} \right)}}}}} & (4) \end{matrix}$ where Pr (k|s,t)

Pr(k=k|s_(i)=s,t_(i)=t). Let S, T, and K be the domains of the message signal s_(i) of the i'th block, tag signal t_(i) of the i'th block, and key k, respectively.

To be specific, the adversary could calculate a Hamming distance h ({circumflex over (t)}, t_(i)) from each tag signal t_(i). An independent identically distributed (i.i.d.) tag bit-error probability may be calculated as p_(e)=Q(√{square root over (g_(i))}), where Q(⋅) is a tail probability function of a standard normal distribution. Based on the estimated tag signal, an estimating probability of the tag signal should satisfy the formula Pr(t _(i) |{circumflex over (t)})=p _(e) ^(h({circumflex over (t)},t) ^(i) ⁾(1−p _(e))^(log) ² ^(|T|−h({circumflex over (t)},t) ^(i) ⁾  (5) where T represents each tag signal t_(i). When |T| is greater than |K|, {t_(i)}⊂T, Pr(t|{circumflex over (t)}) does not belong to a probability distribution because Σ_(t) _(i) _(∈T)Pr(t_(i)|{circumflex over (t)})<1. Thus, the estimating probability should be scaled by the formula

$\begin{matrix} {{f\left( t_{i} \middle| \hat{t} \right)} = \frac{\Pr\left( t_{i} \middle| \hat{t} \right)}{\sum\limits_{t_{i} \in T}{\Pr\left( t_{i} \middle| \hat{t} \right)}}} & (6) \end{matrix}$ The key equivocation may be expressed as

$\begin{matrix} \begin{matrix} {{H\left( k \middle| y_{i} \right)} \cong {H\left( {\left. k \middle| s_{i} \right.,{\hat{t}}_{i}} \right)}} \\ {= {- {\sum\limits_{k_{i} \in K}{{f\left( k_{i} \middle| \hat{t} \right)}\log_{2}{f\left( k_{i} \middle| \hat{t} \right)}}}}} \\ {= {- {\sum\limits_{k \in K}{{f\left( t_{i} \middle| \hat{t} \right)}\log_{2}{f\left( t_{i} \middle| \hat{t} \right)}}}}} \end{matrix} & (7) \end{matrix}$ where k denotes the key, k_(i) denotes the key of the i'th block, γ_(i) denotes the second signal of the i'th block, s_(i) denotes the message signal of the i'th block, {circumflex over (t)}_(i) denotes the estimated tag signal of the i'th block, and t_(i) denotes the tag signal of the i'th block. The key equivocation value may thereby be determined.

In step S200, the authentication information leakage ratio may be determined based on the key equivocation value, which may be expressed as

$\begin{matrix} {I_{Eve} = \left( {1 - \frac{H\left( k \middle| y_{i} \right)}{\log_{2}{T}}} \right)} & (8) \end{matrix}$ where T denotes the tag signal t_(i) of the i'th block. H(k|y_(i))/log₂|T| denotes the normalized key equivocation value. The value of the authentication information leakage ratio I_(Eve) should fall into the range [0, 1]. When H(k|y_(i))=0, the authentication information leakage ratio is I_(Eve)=1, which indicates that the key equivocation value is equal to zero and the tag signal is totally exposed to the adversary. When H (k|y_(i))=log₂|T|, the authentication information leakage ratio I_(Eve)=0, which indicates that the adversary does not gain the key and tag signal.

According to some embodiments, the adversary could obtain the first testing statistic based on the second signal. To be specific, the adversary could construct the first testing statistic δ_(i, Eve) by match-filtering the residual. The first testing statistic may be calculated as δ_(i,Eve) =R{τ _(i,Eve) }=R{s _(i) ^(H) s _(i) −{circumflex over (x)} _(i) ^(H) s _(i) }=R{(s _(i) ^(H) −{circumflex over (x)} _(i) ^(H))s _(i)},

where R {⋅} represents the operation of extracting the real part, τ_(i, Eve) denotes the first initial testing statistic and {circumflex over (x)}_(i), is defined in (2). There are two reasons for calculating the testing statistic δ_(i, Eve). First, the correlation between {circumflex over (x)}_(i), and s_(i) explicitly quantifies how much the space of the normal signal is occupied by the authentication tag for a physical layer authentication scheme, i.e., the lower the correlation value is, the more the normal signal space is occupied. Second, the testing statistic using the correlation operation could provide tractable closed-form results for existing physical layer authentication schemes. In other embodiments, using the testing statistic could obtain a new physical layer authentication system scheme.

According to some embodiments, based on the first testing hypothesis, the adversary could determine whether the second signal contains the authenticated signal. The first testing hypothesis could be expressed as: H ₁₀: the second carrier signal is a normal signal H ₁₁: the second carrier signal is a tagged signal In addition, the first optimal threshold θ_(i, Eve) of the i'th block may be determined based on the first testing hypothesis.

According to some embodiments, the first testing statistic τ_(i, Eve) for the different hypotheses may be respectively expressed by two formulas: τ_(i,Eve) |H ₁₀ =s _(i) ^(H) s _(i) −s _(i) ^(H) s _(i) −v _(i,Eve) =−v _(i,Eve), and τ_(i,Eve) |H ₁₁=(1−ρ_(s))s _(i) ^(H) s _(i)−ρ_(t) t _(i) ^(H) s _(i) −v _(i,Eve) where v_(i, Eve)=(h*_(Eve)/|h_(i, Eve)|²)s_(i) ^(H)n_(i, Eve) is a random variate with zero-mean Gaussian RV, variance σ_(v) _(i, Eve) ²=Lσ_(n, Eve) ²/|h_(i, Eve)|²=L/γ_(i, Eve), and γ_(i, Eve)=|h_(i, Eve)|²/σ_(n, Eve) ². Where h_(i, Eve) represents the i'th block channel response of the adversary, γ_(i, Eve) represents the i'th block SNR of the adversary by estimating a position of the adversary, and σ_(n, Eve) ² represents the variance of noise at the adversary. Because E{τ_(i, Eve)|H₁₀}=0 and var {τ_(i, Eve)|H₁₀}=L/γ_(i, Eve), the first testing statistic under a condition H₁₀ should follow a distribution, i.e., t_(i, Eve)|H₁₀˜CN(0, L/g_(i, Eve)). Simultaneously, because E{τ_(i, Eve)|H₁₁}=(1−ρ_(s))L and var{τ_(i, Eve)|H₁₁}=L/γ_(i, Eve), the first testing statistic under a condition H₁₁ should follow a distribution, i.e., t_(i, Eve)|H₁₁˜CN((1−r_(s))L, L/g_(i, Eve)). Then, because δ_(i, Eve)=R {τ_(i, Eve)}, the first testing hypothesis may be transformed into

$\begin{matrix} {{{H_{10}\text{:}\mspace{14mu}\delta_{i,{Eve}}} \sim {N\left( {0,\frac{L}{2\gamma_{i,{Eve}}}} \right)}}{{H_{11}\text{:}\mspace{14mu}\delta_{i,{Eve}}} \sim {N\left( {{\left( {1 - \rho_{s}} \right)L},\frac{L}{2\gamma_{i,{Eve}}}} \right)}}} & (9) \end{matrix}$

According to some embodiments, the adversary could obtain a first false alarm probability based on the first testing hypothesis (9) and the first testing statistic. To be specific, the adversary could obtain the i'th block of first test threshold θ_(i, Eve) based on the first testing hypothesis. Based on the i'th block of first test threshold θ_(i, Eve), the first testing statistic and the first testing hypothesis (9), the first false alarm probability P_(FA,i,Eve) of the i'th block may be obtained, which may be expressed as

$\begin{matrix} \begin{matrix} {P_{{FA},i,{Eve}} = {\Pr\left\{ {\delta_{i,{Eve}} > \theta_{i,{Eve}}} \middle| H_{10} \right\}}} \\ {= {Q\left( \frac{\theta_{i,{Eve}}}{\sqrt{{var}\left\{ \delta_{i,{Eve}} \middle| H_{10} \right\}}} \right)}} \\ {= {Q\left( {\theta_{i,{Eve}}\sqrt{\frac{2\gamma_{i,{Eve}}}{L}}} \right)}} \end{matrix} & (10) \end{matrix}$ where γ_(i, Eve) represents the i'th block SNR of the adversary by estimating the position of the adversary, and δ_(i, Eve) represents the first testing statistic of the i'th block. The first false alarm probability may thereby be determined.

According to some embodiments, h_(i, Eve) may follow a zero-mean complex Gaussian RV, and |h_(i)|² is an exponential RV. Based on

${{\frac{1}{b}{\int_{0}^{\infty}{{Q\left( \sqrt{x} \right)}{\exp\left( \frac{- x}{b} \right)}{dx}}}} = {\frac{1}{2}\left( {1 - \sqrt{\frac{b}{2 + b}}} \right)}},$ the first false alarm probability may be obtained by computing the mean of all data blocks, which may be calculated by

$\begin{matrix} \begin{matrix} {P_{{FA},{Eve}} = {E\left\{ {Q\left( \sqrt{\frac{2\left( \theta_{Eve}^{0} \right)^{2}{h_{i,{Eve}}}^{2}}{L\;\sigma_{n,{Eve}}^{2}}} \right)} \right\}}} \\ {= {\frac{1}{\sigma_{h,{Eve}}^{2}}{\int_{0}^{\infty}{{Q\left( \sqrt{\frac{2\left( \theta_{Eve}^{0} \right)^{2}y}{L\;\sigma_{n,{Eve}}^{2}}} \right)}{\exp\left( \frac{- y}{\sigma_{h,{Eve}}^{2}} \right)}{dy}}}}} \\ {= {\frac{1}{2}\left( {1 - \sqrt{\frac{\left( \theta_{Eve}^{0} \right)^{2}\gamma_{Eve}}{L\; + {\left( \theta_{Eve}^{0} \right)^{2}\gamma_{Eve}}}}} \right)}} \end{matrix} & (11) \end{matrix}$ where γ_(Eve)=E(γ_(i, Eve)) represents the SNR of the adversary by estimating the position of suspicious nodes, i.e., the adversary.

In step S200, based on the Neyman-Pearson theorem, the adversary could determine the first optimal threshold when the first false probability is less than or equal to the upper bound of the first false probability. Finally, based on the first detection probability and the authentication information leakage ratio, one may determine the FAIL value.

According to some embodiments, based on Neyman-Pearson theorem, the first false probability P_(FA, Eve) is satisfied if P_(FA, Eve)≤ε_(PFA, Eve), where ε_(PFA, Eve) denotes the upper bound of the first false probability. Thus, it is possible to ensure that the system can find an optimal authentication threshold by setting the first false probability less than or equal to an upper bound. Based on the optimal authentication threshold, this also enable the computation of the maximum of the first detection probability.

According to some embodiments, when P_(FA, Eve)≤ε_(PFA, Eve), the first false probability is set equal to the upper bound of the first false probability ε_(PFA, Eve); after that, the first optimal threshold θ_(Eve) ⁰ may be computed as

$\theta_{Eve}^{0} = \sqrt{\frac{\left( {1 - {2ɛ_{{PFA},{Eve}}}} \right)^{2}L}{4\left( {ɛ_{{PFA},{Eve}} - ɛ_{{PFA},{Eve}}^{2}} \right)\gamma_{Eve}}}$ where L denotes a signal length of each block of first signal. To be specific, γ_(Eve) may be determined by estimating the position of suspicious nodes, i.e., the adversary. The first optimal threshold may thereby be determined.

According to some embodiments, the adversary could determine the first detection probability by using the first optimal threshold. To be specific, the first detection probability of the i'th block may be expressed as:

$\begin{matrix} \begin{matrix} {P_{D,i,{Eve}} = {\Pr\left\{ {\delta_{i,{Eve}} > \theta_{Eve}^{0}} \middle| H_{11} \right\}}} \\ {= {{Q\left( \frac{\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}}{\sqrt{{var}\left\{ \delta_{i,{Eve}} \middle| H_{11} \right\}}} \right)}\backslash}} \\ {= \left\{ \begin{matrix} {{Q\left( \sqrt{\frac{2\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{i,{Eve}}}{L}} \right)},} & {\theta_{Eve}^{0} \geq {\left( {1 - \rho_{s}} \right)L}} \\ {{1 - {Q\left( \sqrt{\frac{2\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{i,{Eve}}}{L}} \right)}},} & {\theta_{Eve}^{0} < {\left( {1 - \rho_{s}} \right)L}} \end{matrix} \right.} \end{matrix} & (12) \end{matrix}$ whereby the first detection probability may be determined.

According to some embodiments, the first detection probability may be computed by taking an average of all data blocks, which may be computed as

$\begin{matrix} \begin{matrix} {P_{D,{Eve}} = {E\left\{ {\Pr\left\{ {\delta_{i,{Eve}} > \theta_{Eve}^{0}} \middle| H_{1} \right\}} \right\}}} \\ {= \left\{ {\begin{matrix} {{\frac{1}{2}\left( {1 - \sqrt{\frac{\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}{L + {\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}}}} \right)},} & {\theta_{Eve}^{0} \geq {\left( {1 - \rho_{s}} \right)L}} \\ {{\frac{1}{2}\left( {1 + \sqrt{\frac{\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}{L + {\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}}}} \right)},} & {\theta_{Eve}^{0} < {\left( {1 - \rho_{s}} \right)L}} \end{matrix}.} \right.} \end{matrix} & (13) \end{matrix}$

In summary:

$\begin{matrix} {P_{D,{Eve}} = {\frac{1}{2}\left( {1 - {{{sign}\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)}\sqrt{\frac{\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}{L + {\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}}}}} \right)}} & (14) \end{matrix}$

According to some embodiments, the adversary could obtain the FAIL value η_(Eve) based on the first detection probability and the authentication information leakage ratio which may be expressed as η_(Eve)=P_(D, Eve)I_(Eve).

According to some embodiments, as shown in FIG. 2, the security detection method for the physical layer authentication system may consider the ability of the receiving device to receive a signal, step S300. It may include obtaining a second false alarm probability based on the received signal; obtaining a second optimal threshold based on the second false alarm probability; and computing a second detection probability. In the step S300, to be specific, the receiving device may receive a second signal, determine an object signal based on the second signal, determine a residual signal based on the object signal, and determine a second test statistic based on the residual signal. Based on the Neyman-Pearson theorem, the receiving device may determine the second optimal threshold if the second false alarm probability is less than or equal to an upper bound of the second false alarm probability, determine the second detection probability, and compute the authentication accuracy.

In step S300, the receiving device determines the object carrier signal based on the second signal (the signal received by the receiver). To be specific, the receiving device uses its channel estimation ĥ_(i) to estimate the object signal of the i'th block according to formula (2).

According to some embodiments, the receiving device determines the residual signal based on the object signal. To be specific, the receiving device computes the residual signal of the i'th block r_(i) based on the object signal of the i'th block. The residual signal of i'th block r_(i) is constructed as:

$\begin{matrix} {r_{i} = {\frac{1}{\rho_{t}}\left( {{\hat{x}}_{i} - {\rho_{s}{\hat{s}}_{i}}} \right)}} & (15) \end{matrix}$

According to some embodiments, the receiving device determines the second testing statistic δ_(i, Bob) by match-filtering the residual with the estimated tag and taking its real part, which is expressed as δ_(i, Bob)=R{τ_(i, Bob)}=R{t_(i) ^(H)r_(i)}, where τ_(i, Bob) denotes the initial second testing statistic.

According to some embodiments, based on a second testing hypothesis, the receiving device may determine whether the second signal contains the authenticated signal, which may save computing resources. The second testing hypothesis may be expressed as H ₂₀: the tag signal is not present in the residual signal H ₂₁: the tag signal is present in the residual signal In addition, the second optimal threshold θ_(i, Bob) of the i'th block may be determined based on the second testing hypothesis, after which the second false alarm probability may be computed.

According to some embodiments, the second testing statistics τ_(i, Bob) for two different hypotheses may be respectively expressed by two formula:

${{\tau_{i,{Bob}}❘H_{20}} = {\frac{1}{\rho_{t}}\left( {{\left( {1 - \rho_{s}} \right){\sum\limits_{k = 1}^{L}\;{t_{i,k}^{*}s_{i,k}}}} + {\frac{h_{i}^{*}}{{h_{i}}^{2}}{\sum\limits_{k = 1}^{L}\;{t_{i,k}^{*}n_{i,k}}}}} \right)}},{and}$ ${{\tau_{i,{Bob}}❘H_{21}} = {\frac{1}{\rho_{t}}\left( {{\rho_{t}{\sum\limits_{k = 1}^{L}\;{t_{i,k}^{*}t_{i,k}}}} + {\frac{h_{i}^{*}}{{h_{i}}^{2}}{\sum\limits_{k = 1}^{L}\;{t_{i,k}^{*}n_{i,k}}}}} \right)}},$ where E {τ_(i, Bob)H₂₀}=0, var {τ_(i, Bob)|H₂₀}=L/ρ_(i) ²γ_(i, Bob), γ_(i, Bob)=|h_(i, Bob)|²/σ_(n, Bob) ² represents the SNR of the i'th block at the receiving device. The second testing statistic under the condition H₂₀ should follow a distribution, i.e., t_(i, Bob)|H₂₀˜CN (0, L/r_(t) ²g_(i, Bob)). Due to E {τ_(i, Bob)|H₂₁}=L and var{τ_(i, Bob)|H₂₁}=L/ρ_(t) ²γ_(i, Bob), the second testing statistic under the condition H₂₀ should follow a distribution, i.e., t_(i, Bob)|H₂₁˜CN(L, L/r_(t) ²g_(i, Bob)). Then the second testing hypothesis may be transformed into

$\begin{matrix} {{{H_{20}\text{:}\mspace{14mu}\delta_{i,{Bob}}} \sim {N\left( {0,\frac{L}{2\rho_{t}^{2}\gamma_{i,{Bob}}}} \right)}}{{H_{21}\text{:}\mspace{14mu}\delta_{i,{Bob}}} \sim {N\left( {L,\frac{L}{2\rho_{t}^{2}\gamma_{i,{Bob}}}} \right)}}} & (16) \end{matrix}$

According to some embodiments, the receiving device determines the second false alarm probability based on the second testing hypothesis, expressed by formula (16), and the second testing statistic. To be specific, the receiving device may determine the second test threshold θ_(i,Bob) of the i'th block based on the second testing hypothesis. Based on the second test threshold θ_(i,Bob) of the i'th block, the second testing statistic, and the second testing hypothesis, the second false alarm probability P_(FA,i,Bob) of the i'th block may be computed, which may be expressed as

$\begin{matrix} {P_{{FA},i,{Bob}} = {{\Pr\left\{ {{\delta_{i,{Bob}} > \theta_{i,{Bob}}}❘H_{20}} \right\}} = {{Q\left( \frac{\theta_{i,{Bob}}}{\sqrt{{var}\left\{ {\delta_{i,{Bob}}❘H_{20}} \right\}}} \right)} = {Q\left( \sqrt{\frac{2\theta_{i,{Bob}}^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)}}}} & (17) \end{matrix}$ where γ_(i, Bob) represents the i'th block SNR of the receiving device, δ_(i, Bob) represents the second testing statistic of the i'th block. The second false alarm probability may thereby be computed.

According to some embodiments, the second false alarm probability may be computed as the mean of all data blocks, which may be calculated by

$\begin{matrix} {P_{{FA},{Bob}} = {{E\left\{ {Q\left( \sqrt{\frac{\left( \theta_{Bob}^{0} \right)^{2}2\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)} \right\}} = {\frac{1}{2}\left( {1 - \sqrt{\frac{\left( \theta_{Bob}^{0} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}{L + {\left( \theta_{Bob}^{0} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}}}} \right)}}} & (18) \end{matrix}$ where γ_(Bob)=E(γ_(i,Bob)) represents the SNR of the receiving device.

In step S300, based on the Neyman-Pearson theorem, the receiving device determines the second optimal threshold when the second false probability is less than or equal to the upper bound of the second false probability, and then the second detection probability may be determined. Finally, the authentication accuracy may be determined from the second detection probability.

According to some embodiments, based on the Neyman-Pearson theorem, the second false probability ε_(PFA, Bob) is satisfied when P_(FA, Bob)≤ε_(PFA, Bob), where ε_(PFA, Bob) denotes the upper bound of the second false probability. Thus, the second false probability can be ensured to be less than or equal to the upper bound of the second false probability, with a maximum equal to ε_(PFA, Bob) the second detection probability.

According to some embodiments, when P_(FA, Bob)≤ε_(PFA, Bob) the second false probability may be set equal to the upper bound of the second false probability ε_(PFA, Bob), after which the second optimal threshold θ_(Bob) ⁰ may be computed as

${\theta_{Bob}^{0} = \sqrt{\frac{\left( {1 - {2ɛ_{{PFA},{Bob}}}} \right)^{2}L}{4\left( {ɛ_{{PFA},{Bob}} - ɛ_{{PFA},{Bob}}^{2}} \right)\rho_{t}^{2}\gamma_{Bob}}}},$ where L denotes signal length of each block of the second signal, γ_(Bob) denotes the SNR at the receiving device, and ρ_(t) ² denotes the energy allocation of tag signal. The second optimal threshold may thereby be computed.

According to some embodiments, the receiving device determines the second detection probability from the second optimal threshold. To be specific, the receiving device may compute the second detection probability based on the second testing statistic and the second optimal threshold, where the second detection probability of the i'th block may be expressed as

$\begin{matrix} {P_{D,i,{Bob}} = {{\Pr\left\{ {{\delta_{i,{Bob}} > \theta_{i,{Bob}}}❘H_{21}} \right\}} = {{Q\left( \frac{\theta_{i,{Bob}} - L}{\sqrt{{var}\left\{ {\delta_{i,{Bob}}❘H_{21}} \right\}}} \right)} = \left\{ \begin{matrix} {Q\left( \sqrt{\frac{2\left( {\theta_{i,{Bob}} - L} \right)^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)} & {\theta_{i,{Bob}} \geq L} \\ {1 - {Q\left( \sqrt{\frac{2\left( {\theta_{i,{Bob}} - L} \right)^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)}} & {\theta_{i,{Bob}} < L} \end{matrix} \right.}}} & (19) \end{matrix}$ from which the second detection probability may be computed.

According to some embodiments, the second detection probability may be computed by taking the average of all data blocks, which may be expressed by

$\begin{matrix} {P_{D,{Bob}} = {{E\left\{ {\Pr\left\{ {{\delta_{i,{Bob}} > \theta_{i,{Bob}}}❘H_{21}} \right\}} \right\}} = \left\{ \begin{matrix} {{\frac{1}{2}\left( {1 - \sqrt{\frac{\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}{L + {\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}}}} \right)},} & {\theta_{Bob}^{0} \geq L} \\ {{\frac{1}{2}\left( {1 + \sqrt{\frac{\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}{L + {\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}}}} \right)},} & {\theta_{Bob}^{0} < L} \end{matrix} \right.}} & (20) \end{matrix}$

In summary:

$\begin{matrix} {P_{D,{Bob}} = {\frac{1}{2}\left( {1 - {{{sign}\left( {\theta_{Bob}^{0} - L} \right)}\sqrt{\frac{\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}{L + {\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}}}}} \right)}} & (21) \end{matrix}$

According to some embodiments, from the second detection probability, the receiving device may determine the authentication accuracy η_(Bob), which may be expressed as η_(Bob)=P_(D, Bob).

According to some embodiments, as shown in FIG. 2, the security detection method for the physical layer authentication system could obtain the probability of security authentication (PSA) based on the FAIL value η_(Eve) and the authentication accuracy η_(Bob), by step S400. To be specific, in step S400, the receiving device may compute the PSA from the FAIL value η_(Eve) and the authentication accuracy η_(Bob), which may be used to estimate the security of physical layer authentication system.

In step S400, the probability of security authentication (PSA) may be expressed as

$\begin{matrix} {P_{SA} = {{\max\left\{ {{\eta_{Bob} - \eta_{Eve}},0} \right\}} = {\max\left\{ {{\frac{1}{2}\left( {1 - {{{sign}\left( {\theta_{Bob}^{0} - L} \right)}\sqrt{\frac{\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}{L + {\left( {\theta_{Bob}^{0} - L} \right)^{2}\rho_{t}^{2}\gamma_{Bob}}}}} - {I_{Eve}\left( {1 - {{{sign}\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)}\sqrt{\frac{\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}{L + {\left( {\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{Eve}}}}}} \right)}} \right)},0} \right\}}}} & (22) \end{matrix}$ where η_(Eve) denotes the FAIL value and η_(Eve)=P_(D, Eve)I_(Eve); P_(D, Eve) denotes the first detection probability; I_(Eve) denotes the authentication information leakage ratio; η_(Bob) denotes the authentication accuracy; η_(Bob)=P_(D, Bob); and P_(D, Bob) denotes the second detection probability. The PSA may thereby be computed. According to some embodiments, when η_(Bob)−η_(Eve) is positive, PSA is a nonzero value.

According to some embodiments, based on the Neyman-Pearson theorem, the probability of security authentication (PSA) should satisfied if the first false alarm probability is less than or equal to the upper bound of the first false alarm probability and the second false alarm probability is less than or equal to the upper bound of the second false alarm probability. Mathematically, the optimization problem may be expressed as P _(SA)=max{η_(Bob)−η_(Eve),0} P _(FA,Bob)≤ε_(PFA,Bob). subject to P _(FA,Eve)≤ε_(PFA,Eve)

Based on this formulation, covertness, security, and robustness of the physical layer authentication system can be analyzed simultaneously.

FIG. 3 is a schematic waveform diagram of the ratio of authentication information leakage and the SNR at the adversary of the security detection method for the physical layer authentication system that considers adversary computing capability according to some embodiments.

For some embodiments, the curve shown in FIG. 3 consists of two groups. The horizontal axis represents the SNR at the adversary and the vertical axis represents the ratio of authentication information leakage. The first group was obtained with a key length of 32 bits. The second group was obtained with a key length of 64 bits. In addition, the tag signal length 1 for both the two groups is 64 bits. Each group has three curves: A, B, C. The curves A, B and C are obtained under a condition that ρ_(s) ² equal to 0.7, 0.9, 0.99 respectively. According to formulas (5) and (6), it is possible to calculate a conditional key distribution. When a distance between the transmitting device and the adversary is very far, the SNR of adversary is very low. FIG. 3 shows that the adversary might have a bigger noisy observation due to a low SNR, a higher key equivocation would result, and the value of I_(Eve) would be reduced. Second, when the lengths of tag signals are equal, decreasing the key length relative to the tag length could decrease the equivocation and increase the value of I_(Eve).

FIG. 4 shows a schematic waveform diagram of a security authentication probability (PSA) and a SNR at the receiving device according to some embodiments.

According to some embodiments, as shown in FIG. 4, curves E, F, H are obtained under the conditions that ρ_(s) ² equal to 0.7, 0.9, 0.99, respectively. The horizontal axis represents the SNR at the receiving device and the vertical axis represents the security authentication probability (PSA). FIG. 4 shows that ρ_(s) ²=0.9 is the best option among the three cases, whereas the PSA performance deteriorates when ρ_(s) ² either increases or decreases. Thus, a tradeoff for setting ρ_(s) ² is possible.

In this disclosure, the receiving device's SNR and the adversary's SNR may be determined by distances between locations of them and the transmitting device respectively. If the transmitting device is aware of the adversary coming closer, the transmitting device assesses the security level through the proposed security model. If the transmitting device finds the security level below some threshold, a wise option for the transmitting device is to adjust its authentication parameters, or even to cancel this authentication request to await an appropriate chance.

In this disclosure, the transmitting device transmits the first signal, and the second signal may be obtained by means of the first signal passing through the wireless fading channel. The adversary could receive the second signal, obtain the first false alarm probability and the authentication information leakage ratio based on the second signal and the first testing statistic. Based on the Neyman-Pearson theorem, the adversary could determine the first optimal threshold while making the first false alarm probability less than or equal to the upper bound of the first false alarm probability. Then, the first detection probability may be determined. Finally, based on the authentication information leakage ratio and the first detection probability, the FAIL value can be determined. The receiving device could receive the second signal, obtain the object signal based on the second signal, determine the residual signal from the object signal, and compute the second testing statistic from the residual signal. Based on the Neyman-Pearson theorem, the receiving device may determine the second optimal threshold while making the second false alarm probability less than or equal to the upper bound of the second false alarm probability. Finally, the second detection probability may be computed, after which the authentication accuracy may be determined. Based on the FAIL value and the authentication accuracy, the PSA may be determined, from which to detect the security of the physical layer authentication system to measure its safety. This may improve the convenience and accuracy of performance analysis.

A computer-readable storage medium is used in some embodiments. One of ordinary skill in the art will appreciate that all or part of the various steps of the above-described embodiments may be accomplished by a program instructing the associated hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash disk, a read-only memory (ROM), a random access memory (RAM), disk or CD, etc.

The security detection method for the physical layer authentication system that considers adversary computing capability described for the various embodiments is described in detail above. The principles and embodiments of the disclosure have been described herein with reference to specific examples, and the description of the above embodiments is only to assist in understanding the method of the disclosure and its core idea. At the same time, for the general technician in this field, there will be some changes in the specific implementation and application scope according to the idea of this disclosure. In summary, the contents of this specification should not be understood as a limitation to the disclosure. 

What is claimed is:
 1. A method for security detection for a physical layer authentication system including a transmitting device, a receiving device, an active adversarial system and an unaware monitoring device, comprising: a) said transmitting device transmitting a first signal, said first signal passing through a wireless fading channel and thereby becoming a second signal; b) said active adversarial system i) receiving the second signal; ii) computing a first testing statistic and an estimated tag from the second signal; iii) determining a key equivocation value from the estimated tag; iv) obtaining an authentication information leakage ratio value from the key equivocation value; v) determining a first false alarm probability estimate from first testing statistic and a first testing hypothesis; vi) determining a first optimal threshold while making the first false alarm probability less than or equal to an upper bound of the first false alarm probability according to a Neyman-Pearson theorem; vii) determining a first detection probability, and estimating a feasible authentication information leakage (FAIL) value as a function of an authentication information leakage ratio and the first detection probability; c) said receiving device i) receiving the second signal; ii) determining an object signal from the second signal; iii) determining a residual signal from the object signal; iv) computing a second testing statistic as a function of the residual signal; v) determining a second optimal threshold while making the second false alarm probability less than or equal to an upper bound of the second false alarm probability based on the Neyman-Pearson theorem; vi) computing a second detection probability; vii) determining an authentication accuracy from the second detection probability; and d) said transmitting device further determining a probability of security authentication for measuring safety of the physical layer authentication system based on the FAIL value and the authentication accuracy.
 2. The method for security detection of claim 1, further comprising computing the probability of security authentication (PSA) as: P _(SA)=max{η_(Bob)−η_(Eve),0} wherein η_(Eve) denotes the FAIL and η_(Eve)=P_(D, Eve)I_(Eve); P_(D, Eve) denotes the first detection probability; I_(Eve) denotes the authentication information leakage ratio; η_(Bob) denotes the authentication accuracy such that η_(Bob)=P_(D, Bob); and P_(D, Bob) denotes the second detection probability.
 3. The method for security detection of claim 1, wherein the first signal is transmitted as data blocks.
 4. The method for security detection of claim 1, further comprising computing the key equivocation value H(k|γ_(i)) as ${{H\left( {k❘y_{i}} \right)} \cong {H\left( {{k❘s_{i}},{\hat{t}}_{i}} \right)}} = {{- {\sum\limits_{k_{i} \in K}{{f\left( {k_{i}❘\hat{t}} \right)}\log_{2}\mspace{14mu}{f\left( {k_{i}❘\hat{t}} \right)}}}} = {- {\sum\limits_{k_{i} \in K}{{f\left( {t_{i}❘\hat{t}} \right)}\log_{2}\mspace{14mu}{f\left( {t_{i}❘\hat{t}} \right)}}}}}$ wherein k denotes a key; k_(i) denotes an i'th block of key; γ_(i) denotes the second signal; {circumflex over (t)}_(i) denotes an i'th block of the estimated tag; t_(i) denotes the i'th block of a tag; and s_(i) denotes an i'th block of a message signal.
 5. The method for security detection of claim 4, further comprising computing the authentication information leakage ratio I_(Eve) is computed as $I_{Eve} = \left( {1 - \frac{H\left( {k❘y_{i}} \right)}{\log_{2}{T}}} \right)$ wherein T denotes an i'th block of tag t_(i).
 6. The method for security detection of claim 1, wherein the first testing hypothesis is expressed as H ₁₀: the second carrier signal is a normal signal H ₁₁: the second carrier signal is a tagged signal and a second testing hypothesis is expressed as H ₂₀: the tag signal is not present in the residual signal H ₂₁: the tag signal is present in the residual signal.
 7. The method for security detection of claim 6, further comprising: determining an i'th block of a first optimal threshold θ_(i, Eve) from the first testing hypothesis; and determining an i'th block of a second optimal threshold θ_(i, Bob) from the second testing hypothesis.
 8. The method of security detection of claim 7, further comprising: computing the i'th block of the first false alarm probability P_(FA,i,Eve) according to P_(FA,i,Eve)=Pr{δ_(i,Eve)>θ_(i,Eve)|H₁₀} based on the i'th block of first optimal threshold θ_(i,Eve) and the i'th block of the first testing hypothesis δ_(i,Eve); and computing the i'th block of second false alarm probability P_(FA,i,Bob) as P_(FA,i,Bob)=Pr{δ_(i,Bob)>θ_(i,Bob)|H₂₀} based on the i'th block of second optimal threshold θ_(i,Bob) and the i'th block of second testing hypothesis δ_(i,Bob).
 9. The method for security detection of claim 8, wherein the first optimal threshold θ_(Eve) ⁰ is determined by setting the first false alarm probability P_(FA,Eve) equal to an upper bound of the first false alarm probability ε_(PFA, Eve) and θ_(Eve) ⁰ is expressed as ${\theta_{Eve}^{0} = \sqrt{\frac{\left( {1 - {2ɛ_{{PFA},{Eve}}}} \right)^{2}L}{4\left( {ɛ_{{PFA},{Eve}} - ɛ_{{PFA},{Eve}}^{2}} \right)\gamma_{Eve}}}};$ the second optimal threshold θ_(Bob) ⁰ is determined by setting the second false alarm probability P_(FA, Bob) equal to an upper bound of the second false alarm probability ε_(PFA, Bob), and θ_(Bob) ⁰ is expressed as ${\theta_{Bob}^{0} = \sqrt{\frac{\left( {1 - {2ɛ_{{PFA},{Bob}}}} \right)^{2}L}{4\left( {ɛ_{{PFA},{Bob}} - ɛ_{{PFA},{Bob}}^{2}} \right)\rho_{t}^{2}\gamma_{Bob}}}};$ wherein L denotes a signal length of each block of the second signal, γ_(Bob) denotes a signal-to-noise-ratio (SNR) at the receiving device, ρ_(t) ² denotes an energy allocation of the tag signal, ε_(PFA, Eve) denotes the upper bound of the first false probability, and ε_(PFA, Bob) denotes the upper bound of the second false probability.
 10. The method of security detection of claim 9, wherein the i'th block of the first detection probability P_(D,i,Eve) is determined from the first testing statistic and the first optimal threshold, and P_(D,i,Eve) is expressed as $\begin{matrix} {P_{D,i,{Eve}} = {{\Pr\left\{ {{\delta_{i,{Eve}} > \theta_{Eve}^{0}}❘H_{11}} \right\}} = {{Q\left( \frac{\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}}{\sqrt{{var}\left\{ {\delta_{i,{Eve}}❘H_{11}} \right\}}} \right)} = \left\{ {\begin{matrix} {{Q\left( \sqrt{\frac{2\left( {\theta_{Eve}^{2} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{i,{Eve}}}{L}} \right)},} & {\theta_{Eve}^{0} \geq {\left( {1 - \rho_{s}} \right)L}} \\ {{1 - {Q\left( \sqrt{\frac{2\left( {\theta_{Eve}^{2} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{i,{Eve}}}{L}} \right)}},} & {\theta_{Eve}^{0} < {\left( {1 - \rho_{s}} \right)L}} \end{matrix};{P_{D,i,{Eve}} = {{\Pr\left\{ {{\delta_{i,{Eve}} > \theta_{Eve}^{0}}❘H_{11}} \right\}} = {{Q\left( \frac{\theta_{Eve}^{0} - {\left( {1 - \rho_{s}} \right)L}}{\sqrt{{var}\left\{ {\delta_{i,{Eve}}❘H_{11}} \right\}}} \right)} = \left\{ \begin{matrix} {{Q\left( \sqrt{\frac{2\left( {\theta_{Eve}^{2} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{i,{Eve}}}{L}} \right)},} & {\theta_{Eve}^{0} \geq {\left( {1 - \rho_{s}} \right)L}} \\ {{1 - {Q\left( \sqrt{\frac{2\left( {\theta_{Eve}^{2} - {\left( {1 - \rho_{s}} \right)L}} \right)^{2}\gamma_{i,{Eve}}}{L}} \right)}},} & {\theta_{Eve}^{0} < {\left( {1 - \rho_{s}} \right)L}} \end{matrix} \right.}}}} \right.}}} & ({VI}) \end{matrix}$ the i'th block of the second detection probability P_(D,i,Bob) is obtained based on the second testing statistic and the first optimal threshold, and the P_(D,i,Bob) is expressed as $\begin{matrix} {P_{D,i,{Bob}} = {{\Pr\left\{ {{\delta_{i,{Bob}} > \theta_{i,{Bob}}}❘H_{21}} \right\}} = {{Q\left( \frac{\theta_{i,{Bob}} - L}{\sqrt{{var}\left\{ {\delta_{i,{Bob}}❘H_{21}} \right\}}} \right)} = \left\{ {\begin{matrix} {Q\left( \sqrt{\frac{2\left( {\theta_{i,{Bob}} - L} \right)^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)} & {\theta_{i,{Bob}} \geq L} \\ {1 - {Q\left( \sqrt{\frac{2\left( {\theta_{i,{Bob}} - L} \right)^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)}} & {\theta_{i,{Bob}} < L} \end{matrix};{P_{D,i,{Bob}} = {{\Pr\left\{ {{\delta_{i,{Bob}} > \theta_{i,{Bob}}}❘H_{21}} \right\}} = {{Q\left( \frac{\theta_{i,{Bob}} - L}{\sqrt{{var}\left\{ {\delta_{i,{Bob}}❘H_{21}} \right\}}} \right)} = \left\{ \begin{matrix} {Q\left( \sqrt{\frac{2\left( {\theta_{i,{Bob}} - L} \right)^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)} & {\theta_{i,{Bob}} \geq L} \\ {1 - {Q\left( \sqrt{\frac{2\left( {\theta_{i,{Bob}} - L} \right)^{2}\rho_{t}^{2}\gamma_{i,{Bob}}}{L}} \right)}} & {\theta_{i,{Bob}} < L} \end{matrix} \right.}}}} \right.}}} & ({VII}) \end{matrix}$ wherein, ρ_(s) ²+ρ_(t) ²=1, γ_(i,Eve) represents the i'th block SNR of the active adversarial system, and γ_(i, Bob) represents the i'th block SNR of the receiving device. 